/* Секция выбора металла */
.metal-selection-section {
    padding: 30px 0;
    /*margin: 20px 0;*/
    /*background-color: #f5f5f5;*/
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.metal-selection-container {
    display: flex;
    flex-direction: row;
    gap: 200px;
    width: 80%;
    padding-right: 40px;
    max-width: 1608px;
}

.metal-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.metal-card {
    background-color: #e8e8e8;
    border-radius: 15px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #e8e8e8 0%, #f0f0f0 100%);
    min-height: 250px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.metal-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.metal-brand-logo {
    width: 200px;
    height: 80px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    margin-bottom: 20px;
    /* Используем относительный путь к логотипу - путь нужно будет заменить на правильный */
    background-image: url('../images/logo.png');
}

.metal-name {
    font-size: 32px;
    font-weight: 300;
    color: #333;
    font-family: 'Forum', serif;
    text-transform: uppercase;
}

.metal-image {
    width: 340px;
    height: 265px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    margin-left: 30px;
    transition: transform 0.3s ease;
}

.silver-metal {
    /* Замените на правильный путь к изображению серебряных украшений */
    background-image: url('/static/images/silver_logo.png');
}

.gold-metal {
    /* Замените на правильный путь к изображению золотых украшений */
    background-image: url('../images/gold_logo.png');
}

/* Hover Effects */
.metal-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.metal-card:hover .metal-image {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.metal-card:hover .metal-brand-logo {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}
@media (max-width: 1200px) {
        .metal-selection-section {
        padding: 20px 0;
        min-height: 60vh;
    }

    .metal-selection-container {
        flex-direction: column;
        gap: 40px;
        max-width: 800px;
    }

    .metal-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
        gap: 20px;
        min-height: 200px;
    }

    .metal-content {
        align-items: center;
    }

    .metal-brand-logo {
        background-position: center;
        width: 180px;
        height: 70px;
    }

    .metal-image {
        margin-left: 0;
        width: 150px;
        height: 150px;
    }

    .metal-name {
        font-size: 28px;
    }




}
/* Responsive Design */
@media (max-width: 768px) {
    .metal-selection-section {
        padding: 20px 0;
        min-height: 60vh;
    }

    .metal-selection-container {
        flex-direction: column;
        gap: 40px;
        max-width: 800px;
    }

    .metal-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
        gap: 20px;
        min-height: 200px;
    }

    .metal-content {
        align-items: center;
    }

    .metal-brand-logo {
        background-position: center;
        width: 180px;
        height: 70px;
    }

    .metal-image {
        margin-left: 0;
        width: 150px;
        height: 150px;
    }

    .metal-name {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .metal-selection-section {
        padding: 10px;
        min-height: 50vh;
    }

    .metal-selection-container {
        gap: 20px;
    }

    .metal-card {
        padding: 25px 20px;
        min-height: 180px;
    }

    .metal-brand-logo {
        width: 150px;
        height: 60px;
    }

    .metal-name {
        font-size: 24px;
    }

    .metal-image {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 320px) {
    .metal-selection-section {
        padding: 5px;
        margin: 10px 0;
    }

    .metal-card {
        padding: 20px 15px;
        min-height: 160px;
    }

    .metal-brand-logo {
        width: 120px;
        height: 50px;
    }

    .metal-name {
        font-size: 20px;
    }

    .metal-image {
        width: 100px;
        height: 100px;
    }
}