body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: 18px;
}

a {
    color: inherit;
    font-weight: inherit;
    cursor: pointer;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #2c3e50;
    color: white;
    padding: 10px 20px;
    height: 80px;
    position: relative;
    margin: 0;
}

header img {
    height: 70%;
    max-height: 100%;
    object-fit: contain;
    margin: 0 10px;
}

main {
    flex-grow: 1;
}


#unique-image {
    display: block;
    width: 250px;
    height: 250px;
    object-fit: cover;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.right-buttons {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.text-container {
    flex-grow: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    margin: 0;
}

.text-container h1 {
    margin: 0;
    font-size: 1.5rem;
}

.text-container p {
    margin: 5px 0 10px;
    font-size: 1rem;
}

.search-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /*min-height: 100vh;*/
    padding: 20px;
}

.cta-button {
    background: #3498db;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin: 5px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #2980b9;
    transform: scale(1.05);
}

.features {
  display: flex;
  justify-content: space-around;
  padding: 20px;
}

.feature-item {
  text-align: center;
  width: 30%;
}

.menu-icon .bar {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
}

.menu-icon.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-icon.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-icon.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.menu-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 10;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: #34495e;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: none;
    z-index: 9;
    min-width: 200px;
    white-space: nowrap;
    max-height: 300px;
    overflow-y: auto;
}

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

.dropdown-menu li {
    border-bottom: 1px solid #2c3e50;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    transition: background 0.3s ease;
}

.dropdown-menu a:hover {
    background: #2c3e50;
}

.dropdown-menu.active {
    display: block;
}

.price-list {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.price-item {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}


.price-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.price-item .price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
}

.price-item ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.price-item ul li {
    background: #f4f4f4;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 1rem;
    color: #555;
}

.price-item a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.price-item a:hover {
    text-decoration: underline;
}

.payment-widget {
    margin-top: 20px;
    padding: 15px;
    background: #ecf0f1;
    border: 1px solid #bdc3c7;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
}

.offer-pages {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.offer-pages img {
    max-width: 80%;
    height: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.contact-pages {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.contact-pages img {
    max-width: 80%;
    height: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    align-self: flex-start;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

@media (max-width: 768px) {

    header{
        flex-wrap: wrap;
        height: auto;
    }

    .right-buttons{
        position: static;
        transform: none;
        width: 100%;
        justify-content: flex-end;
        margin-top: 6px;
    }
}

@media (max-width: 768px) {
    .offer-pages img {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .price-list {
        padding: 20px;
    }

    .price-item h3 {
        font-size: 1.2rem;
    }

    .price-item .price {
        font-size: 1rem;
    }

    .price-item ul li {
        font-size: 0.9rem;
    }
}

.quality-button {
    background: white;
    color: #2c3e50;
    border: 1px solid #ccc;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: bold !important;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    text-decoration: none;
    z-index: 10;
}

.quality-button:hover {
    background: #f9f9f9;
    border-color: #aaa;
}


@media (max-width: 768px) {
    .quality-button {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .text-container {
        margin: 0 10px;
    }
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px;
  height: 80px;
  box-sizing: border-box;
  background: #2c3e50;
  color: white;
  text-align: center;
  bottom: 0;
  margin: 0;
}

.footer-text {
  flex-grow: 1;
}

.footer-logo {
  display: block;
  height: 100%;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

.footer-logo-link {
  display: block;
  height: 100%;
}

.text-justify {
  text-align: justify; /* Основное выравнивание по ширине */
  text-align-last: left; /* Последняя строка выравнивается по левому краю */
}
