@import "./mobile.css";

html, body {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
  scroll-behavior: smooth;
  background-color: rgba(255, 255, 255, 1);

  font-family: 'Stem';
  font-style: normal;
}

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

section {
  width: 100%;
  box-sizing: border-box;
}

.container {
  max-width: 1440px;
  margin: 50px auto;
  padding: 165px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h2 {
  font-weight: 400;
  font-size: 32px;
  margin-bottom: 16px;
}

p {
  font-size: 16px;
  font-weight: 400px;
  margin-bottom: 12px;

  color: #403E3B;
}

.header {
  justify-content: space-between;
  align-items: center;
  padding: 24px 64px;
  background-color: #ffffff;
}

.logo {
  font-weight: bold;
  font-size: 1.5rem;
}

.logo span {
  color: #333;
  font-weight: normal;
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: #111;
  font-size: 1,5rem;
}

/* Hero section */

.hero {
  background: url('../img/hero.png') no-repeat center center;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0; 
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-text {
  color: white;
  max-width: 500px;
}

.hero-text h1 {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 24px;
  line-height: 1.6;
  color: white;
}

.hero-form {
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hero-form h3 {
  font-size: 1rem;
  font-weight: 600;
}

.hero-form input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.hero-form button {
  padding: 12px;
  background-color: #F24B6A;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-form button:hover {
  background-color: #d93f5b;
}

.hero-form small {
  font-size: 0.75rem;
  color: #777;
}

/* About */

.about {
  background: #fff;
  padding: 60px 20px;
}

.about__container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.about__text {
  max-width: 500px;
  flex: 1 1 300px;
}

.about__subtitle {
  color: #0080c0;
  font-size: 16px;
  margin-bottom: 10px;
}

.about__title {
  font-size: 32px;
  font-weight: bold;
  margin: 0 0 20px;
}

.about__description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #333;
}

.about__btn {
  display: inline-block;
  background-color: #ff4d7e;
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 20px;
  transition: background 0.3s ease;
}

.about__btn:hover {
  background-color: #e63963;
}

.about__images {
  position: relative;
  width: 300px;
  height: 300px;
  flex: 1 1 300px;
}

.about__circle {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
}

.about__circle--top {
  top: 0;
  right: 0;
  width: 160px;
  height: 160px;
}

.about__circle--bottom {
  bottom: 0;
  left: 0;
  width: 180px;
  height: 180px;
}

.about__circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Frame */

.frame {
  width: 100vw;

  display: flex;
  justify-content: center;
}

.frame-wrapper {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.frame-wrapper img {
  width: 1920px;
  max-width: none;
  height: auto;
}

/* Reapir */

.repair {
  background-image: url('../img/repair.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
}

.repair__overlay {
  background-color: rgba(0, 0, 0, 0.55);
  padding: 80px 20px;
}

.repair__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.repair__title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.repair__subtitle {
  font-size: 18px;
  margin-bottom: 50px;
  color: #ddd;
}

.repair__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

.repair__icon {
  background-color: #fff;
  color: #007bff;
  border-radius: 50%;
  font-size: 24px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.repair__label {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.repair__desc {
  font-size: 14px;
  color: #ccc;
}

/* Quote */

.quote {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 627px;
}

.quote_block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 95px;
  gap: 10px;

  width: 1109px;
  height: 427px;

  background: #F7F8FA;
  border-radius: 24px;
}

.quote_block blockquote {
  font-weight: 700;
  font-size: 48px;
  line-height: 54px;

  text-align: center;

  color: #000000;
}

.quote_block p {
  font-weight: 500;
  font-size: 24px;
  line-height: 130%;

  text-align: center;

  color: rgba(0, 0, 0, 0.4);
}

/* Certificate */

.certificate {
  width: 100%;
  height: 509px;
  background: #F2F2F2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.certificate_block {
  display: flex;
  flex-direction: row;
  gap: 54px;
  justify-content: center;
  align-items: center;
}

.certificate_text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  line-height: 24px;
}

.certificate_text h2 {
  font-weight: 700;
  font-size: 28px;
  line-height: 32px;

  color: #000000;
}

.certificate_text p {
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;

  color: rgba(0, 0, 0, 0.8);
}

.certificate_img {
  display: flex;
  flex-direction: row;
  gap: 30px;
}

/* Team */

.team {
  text-align: center;
  padding: 80px 20px;
  background: #fff;
}

.team__subtitle {
  color: #007acc;
  font-size: 18px;
  margin-bottom: 10px;
}

.team__title {
  font-size: 36px;
  margin: 0;
}

.team__desc {
  margin: 20px 0 50px;
  color: #555;
  font-size: 18px;
  line-height: 1.4;
}

.team__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.team__item {
  width: 180px;
}

.team__avatar {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 15px;
}

.team__name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.team__role {
  font-size: 16px;
  color: #666;
}

/* Contact */

.contact-block {
  background: #1180a3;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.contact-block h2 {
  font-size: 32px;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-form input {
  padding: 15px 20px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  min-width: 250px;
}

.contact-form button {
  background: #f54d70;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
}

.contact-note {
  color: #dceff6;
  font-size: 14px;
}

.contact-note a {
  color: #fff;
  text-decoration: underline;
}

/* Footer */

.footer {
  background: #063641;
  color: #c0e3eb;
  padding: 40px 20px;
  font-size: 14px;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer__top p {
  color: white;
}

.footer__links {
  display: flex;
  gap: 40px;
}

.footer__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links a {
  color: #c0e3eb;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.footer__contacts p {
  margin: 0 0 10px;
  color: white;
}

.footer__socials a {
  margin-left: 10px;
}

.footer__socials img {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  padding: 6px;
}

.footer-credits {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #ccc;
}

.footer-credits a {
  color: inherit;
  text-decoration: none;
  color: white;
}
