html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.image-section img {
    max-width: 100%;
    height: auto;
}

/* ��� ��������������� ������������ � ���� ������ */
.row {
    display: flex;
    flex-wrap: wrap;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.image-container {
    height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.privacy-content .section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

.privacy-content .section:last-child {
    border-bottom: none;
}

.privacy-content h1 {
    color: #2c3e50;
    margin-bottom: 30px;
}

.privacy-content h2 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.privacy-content h3 {
    color: #2c3e50;
    margin: 15px 0 10px 0;
    font-size: 1.1em;
}

.privacy-content p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

.privacy-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.privacy-content li {
    line-height: 1.6;
    margin-bottom: 8px;
    color: #555;
}

.privacy-content strong {
    color: #2c3e50;
}

.privacy-content .effective-date {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    text-align: center;
}

.privacy-content .effective-date p {
    margin-bottom: 5px;
}

.order-form {
        background: #f8f9fa;
        padding: 30px;
        border-radius: 10px;
        margin-bottom: 30px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-control {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 16px;
    }

    label {
        font-weight: bold;
        margin-bottom: 8px;
        display: block;
    }

    .btn {
        background: #007bff;
        color: white;
        padding: 15px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 18px;
        width: 100%;
        margin-top: 10px;
    }

    .btn:hover {
        background: #0056b3;
    }

    .contact-info {
        text-align: center;
        padding: 20px;
    }

    .alert {
        padding: 15px;
        border-radius: 5px;
        margin-bottom: 20px;
    }

    .alert-success {
        background: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .alert-danger {
        background: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }
    
    .image-gallery-container {
    margin-bottom: 2rem;
}

/* Убедитесь, что все image-container ведут себя одинаково */
.image-container {
    height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.05);
}



/* Убедитесь, что row и col ведут себя одинаково */
.image-row .col-md-6 {
    padding: 10px;
}

    /* Адаптивность для мобильных */
@media (max-width: 768px) {
    .container main {
        margin: 10px;
        padding: 15px;
    }
    
    footer .container {
        padding: 0 15px;
    }
}